home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-05-11 | 774 b | 33 lines | [TEXT/RLAB] |
- norm:
-
- Synopsis: Compute the norm of a matrix or vector.
-
- Syntax: norm ( A )
- norm ( A , "type" )
- norm ( A, P )
-
- Description:
-
- The first form defaults to computing the 1-norm of the input
- matrix. The second and third forms allow the user to specify
- the desired vector or matrix norm.
-
- type:
-
- "M" or "m" returns max(abs( MATRIX ))
-
- "1", "O" or "o" return the 1-norm (default)
-
- "2" returns the matrix 2-norm (largest singular value)
-
- "I" or "i" returns the infinity-norm
-
- "F", "f", "E" or "e" returns the Frobenius norm.
-
- LAPACK subroutines DLANGE and ZLANGE are used to compute all
- norms, except the 2-norm.
-
- If the third form of the function is used, then norm attempts
- to compute the vector p-norm. If A is not a row or column
- vector, then an error occurs.
-